<!DOCTYPE html>
<html>
<head>
    @include("/include/_header.html", {'title':'任务详情'}){}
</head>
<body>


<div class="layui-form" lay-filter="layuiadmin-app-form-list" id="layuiadmin-app-form-list" style="padding: 20px 30px 0 0;">

    <input  type="hidden" id="taskId" name = "taskId" value="${taskId}">
    <table class="layui-hide" id="task-detail" lay-filter="task-detail"></table>

    <!-- 表格操作按钮 -->
    <script type="text/html" id="online-status">
        {{#  if(d.status == '已完成'){ }}
        <button class="layui-btn-sm">已完成</button>
        {{# } else if(d.status == '未执行'){ }}
        <button class="layui-btn-sm layui-btn-disabled">未执行</button>
        {{# } else if(d.status == '失败'){ }}
        <button class="layui-btn-sm layui-bg-orange">失败</button>
        {{# }  else if(d.status == '执行中'){ }}
        <button class="layui-btn-sm layui-bg-red">执行中</button>
        {{# }else { }}
        <button class="layui-btn-sm layui-bg-blue">待上料</button>
        {{#  } }}
    </script>

</div>



@include("/include/_container.html", {'js':'/assets/sys/addTask/taskDetail.js'}){}
</body>
</html>